<ion-view view-title="我的订单" cache-view="false" ng-init="init()" hide-back-button="false">
  <ion-content class="gray_back">
    <section class="g_main">
      <div class="shop_deatil_warp">
        <section class="order_list">
          <p ng-if="nowaybill" style="text-align: center">暂无数据</p>
          <ion-scroll style="height:{{scorllHeight}}px" delegate-handle="waybillscroll">
            <div style="height:{{listHeight}}px">
              <ion-list ng-if="shopList && shopList.length">
                <li ng-click="toDetail(item.no)" ng-repeat="item in shopList" class="item">
                  <header><strong>订单编号： {{item.no}}</strong>
                    <em class="status">{{item.order_status_disp}}</em></header>
                  <ul>
                    <li>
                      <i class="icon icon_order_1"></i>
                      <span>下单日期</span>
                      <em>{{item.add_time_disp}}</em>
                    </li>
                    <li>
                      <i class="icon icon_order_5"></i>
                      <span>商品名称</span>
                      <em style="word-wrap: break-word;white-space: normal;white-space: normal;">{{item.goods_name}}</em>
                    </li>
                    <li>
                      <i class="icon icon_order_4"></i>
                      <span>购买数量</span>
                      <em>{{item.goods_num}}</em>
                    </li>
                    <li>
                      <i class="icon icon_order_4"></i>
                      <span>支付金额</span>
                      <em><span>{{item.pay_fee}}</span>元</em>
                    </li>
                     <li>
                      <i class="icon icon_order_5"></i>
                      <span>快递状态</span>
                      <em>{{item.shipping_status_disp}}</em>
                    </li>
                    <li>
                      <i class="icon icon_order_5"></i>
                      <span>支付状态</span>
                      <em>{{item.pay_status_disp}}</em>
                    </li>
                  </ul>
                </li>
              </ion-list>
              <ion-infinite-scroll on-infinite="loadMoreRecord()" distance="1" ng-show="showprogress"></ion-infinite-scroll>
            </div>
          </ion-scroll>
        </section>
      </div>
    </section>

  </ion-content>
</ion-view>
